import java.util.Scanner;

public class Task02 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入a的值：");
        int a = scanner.nextInt();
        System.out.println("请输入b的值：");
        int b = scanner.nextInt();
        int c=a;
        a=b;
        b=c;
        System.out.println("交换后的a,b的值为: a="+a+",b="+b);
    }
}
